<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_addr_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_addr_id" data-rule="required" data-source="s/addr/index" class="form-control selectpage" name="row[s_addr_id]" type="text" value="{$row.s_addr_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S2_addr_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s2_addr_id" data-rule="required" data-source="s2/addr/index" class="form-control selectpage" name="row[s2_addr_id]" type="text" value="{$row.s2_addr_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_addr_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_addr_id" data-rule="required" data-source="e/addr/index" class="form-control selectpage" name="row[e_addr_id]" type="text" value="{$row.e_addr_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E2_addr_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e2_addr_id" data-rule="required" data-source="e2/addr/index" class="form-control selectpage" name="row[e2_addr_id]" type="text" value="{$row.e2_addr_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_uid" class="form-control" name="row[s_uid]" type="number" value="{$row.s_uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('J_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-j_uid" class="form-control" name="row[j_uid]" type="number" value="{$row.j_uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_money" class="form-control" step="0.01" name="row[s_money]" type="number" value="{$row.s_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('J_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-j_money" class="form-control" step="0.01" name="row[j_money]" type="number" value="{$row.j_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_load_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_load_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[s_load_time]" type="text" value="{:$row.s_load_time?datetime($row.s_load_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_load_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_load_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[e_load_time]" type="text" value="{:$row.e_load_time?datetime($row.e_load_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{:$row.time?datetime($row.time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="moneyStatusList" item="vo"}
            <label for="row[money_status]-{$key}"><input id="row[money_status]-{$key}" name="row[money_status]" type="radio" value="{$key}" {in name="key" value="$row.money_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('S_ps')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-s_ps" class="form-control" name="row[s_ps]" type="text" value="{$row.s_ps|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" name="row[money]" type="text" value="{$row.money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Load_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="loadStatusList" item="vo"}
            <label for="row[load_status]-{$key}"><input id="row[load_status]-{$key}" name="row[load_status]" type="radio" value="{$key}" {in name="key" value="$row.load_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="layStatusList" item="vo"}
            <label for="row[lay_status]-{$key}"><input id="row[lay_status]-{$key}" name="row[lay_status]" type="radio" value="{$key}" {in name="key" value="$row.lay_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order" class="form-control" name="row[order]" type="text" value="{$row.order|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_name" class="form-control" name="row[goods_name]" type="text" value="{$row.goods_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Long')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-long" class="form-control" step="0.01" name="row[long]" type="number" value="{$row.long|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wide')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wide" class="form-control" step="0.01" name="row[wide]" type="number" value="{$row.wide|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('High')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-high" class="form-control" step="0.01" name="row[high]" type="number" value="{$row.high|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('J_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-j_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[j_time]" type="text" value="{:$row.j_time?datetime($row.j_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Spay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="spayStatusList" item="vo"}
            <label for="row[spay_status]-{$key}"><input id="row[spay_status]-{$key}" name="row[spay_status]" type="radio" value="{$key}" {in name="key" value="$row.spay_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jpay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="jpayStatusList" item="vo"}
            <label for="row[jpay_status]-{$key}"><input id="row[jpay_status]-{$key}" name="row[jpay_status]" type="radio" value="{$key}" {in name="key" value="$row.jpay_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weight" class="form-control" step="0.01" name="row[weight]" type="number" value="{$row.weight|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Km')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-km" class="form-control" step="0.01" name="row[km]" type="number" value="{$row.km|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
